﻿<phone:PhoneApplicationPage 
    x:Class="Day1.CanvasDemo"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <Canvas>
        <Button Canvas.Left="100" 
                Canvas.Top="200"
                Content="Hello"/>
        <Rectangle Width="200"
                   Height="200"
                Canvas.Left="224" 
                Canvas.Top="85"
                Canvas.ZIndex="1" Fill="{StaticResource MyImageColor}"
                   />
        <Rectangle Width="200"
                   Height="200"
                Canvas.Left="250" 
                Canvas.Top="300"
                Canvas.ZIndex="2" Fill="{StaticResource MyImageColor}"
                   />
        <Path Data="M84.356079,84.4664 C86.644753,85.081635 88.553169,85.6343 90.194946,86.108665 L90.566246,86.215744 L91.35611,87.466408 z M32.27166,83.840172 L47.355839,87.953995 C41.921944,86.566628 37.538193,86.057312 32.540188,83.958176 z M27.897182,81.736305 L28.524906,82.045708 C29.101852,82.330299 29.710949,82.63163 30.355724,82.954018 C30.727688,83.139999 31.095303,83.316071 31.459179,83.483131 L32.27166,83.840172 L25.35569,81.954018 C26.089096,81.892899 26.817108,81.830917 27.539757,81.768059 z M38.357826,0.51018143 C42.690083,0.45191813 47.08736,0.64951468 51.355869,0.95439816 C62.848839,1.7753177 70.967865,1.7603035 81.356079,6.95437 C84.773476,8.6630421 88.196121,10.633854 91.271545,13.058476 L91.292999,13.075916 L91.37085,13.04143 C109.02394,5.6358666 133.22699,4.4864578 153.35635,15.466109 C162.62445,20.521429 169.92322,26.032928 177.35645,33.466187 C182.86636,38.976097 185.52187,38.135456 180.35648,48.466248 C174.19281,60.793568 159.26981,63.009583 146.35632,69.466339 C135.08316,75.102959 123.0192,79.801216 111.35619,84.4664 C100.56583,88.782524 99.155159,88.684326 91.148918,86.383766 L90.566246,86.215744 L90.156113,85.566338 C87.723938,81.779297 85.115417,78.063698 82.634415,74.289185 L81.7677,72.953789 L80.050537,73.450348 C67.602989,76.920883 51.04995,79.639198 29.691631,81.576897 L27.897182,81.736305 L27.683159,81.630821 C19.77084,77.731163 18.247345,76.895805 12.355598,65.954094 C5.2040176,52.672726 -6.734787,29.40794 6.3555565,11.954348 C12.949482,3.1625338 25.361053,0.68497944 38.357826,0.51018143 z" Fill="{StaticResource RainbowColor}" Height="88.454" Canvas.Left="53.394" Stretch="Fill" Stroke="Black" Canvas.Top="549.546" UseLayoutRounding="False" Width="183.63"/>
    </Canvas>

</phone:PhoneApplicationPage>
